package mark.tom.sail;

import androidx.annotation.NonNull;

import java.util.Map;

public abstract class AnalyticsCollector extends AnalyticsOperator {

    AnalyticsCollector(String mIdKey,
                       DataConverter mLogDataConvert,
                       FileGenerator mLogFileGenerator,
                       FileStorage mLogFileStorage,
                       DataSecurity mLogDataSecurity,
                       LogInterceptor logInterceptor) {
        super(mIdKey, mLogDataConvert, mLogFileGenerator, mLogFileStorage, mLogDataSecurity, logInterceptor);
    }

    abstract void collectLog(@NonNull String tag, @NonNull Map<String, Object> data) throws Exception;
}
